﻿using System;
using System.ComponentModel.DataAnnotations;

namespace LpbPrj.Client.Patients.Dtos
{
    public class PatientEditDto
    {
        public int? Id { get; set; }

        public const int MaxNameLength = 30;
        public const int MaxDescriptionLength = 1024;

        [Required]
        [MaxLength(MaxNameLength)]
        public string PatientName { get; set; }

        public DateTime? PatientBirthday { get; set; }
        public SexState PatientSex { get; set; }
        public string PatientPhone { get; set; }
        public string PatientAddress { get; set; }
        [MaxLength(MaxDescriptionLength)]
        public string Description { get; set; }
        public string Disease { get; set; }
        public string Remarks { get; set; }


        public string Cause { get; set; }//送检原因
        public string Doctor { get; set; }//送检医生
        public string Operator { get; set; }//检查员
        public string CaseID { get; set; }//病例号
        public string ShowID { get; set; }//展示的Id，带有日期的

        public long? CreatorUserId { get; set; }
        public DateTime CreationTime { get; set; }
        public long? LastModifierUserId { get; set; }
        public DateTime? LastModificationTime { get; set; }

    }
}
